package com.agp.api.test;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(name = "eureka-client", fallback = HystrixHelloApi.class)
public interface IHelloApi {


    @GetMapping(value = "/hello")
    String index(@RequestParam("name") String name);


}
